package com.tudouji.project.mt.domain;

import java.math.BigDecimal;

import com.flow.service.pojo.BasePojo;
import com.tudouji.framework.aspectj.lang.annotation.Excel;
import com.tudouji.framework.web.domain.BaseEntity;
import lombok.Data;

/**
 * 美团入库单主对象 mt_whin
 * 
 * @author tudouji
 * @date 2023-11-21
 */
@Data
public class MtWhin extends BasePojo
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    private Long mtShopld;

    /** 美团组织Id */
    @Excel(name = "美团组织Id")
    private Long mtOrgid;

    /** 美团所属组织Id */
    @Excel(name = "美团所属组织Id")
    private Long mtBelongsorgid;

    /** 美团总部orgid */
    @Excel(name = "美团总部orgid")
    private Long mtRootorgid;

    /** ERP组织Id */
    @Excel(name = "ERP组织Id")
    private Long orgId;

    /** 组织名称 */
    @Excel(name = "组织名称")
    private String orgName;

    /** 美团仓库Id */
    @Excel(name = "美团仓库Id")
    private String mtWhCode;

    /** 美团入库单号 */
    @Excel(name = "美团入库单号")
    private String itemsn;

    /** 对方机构类型 1.供应商 2.组织机构 3.外销客户 */
    @Excel(name = "对方机构类型 1.供应商 2.组织机构 3.外销客户")
    private Integer oppositeorgType;

    /** 对方机构code */
    @Excel(name = "对方机构code")
    private String oppositeorgCode;

    /** 对方机构名称 */
    @Excel(name = "对方机构名称")
    private String oppositeorgName;

    /** 生成ERP入库单时，对应生成订单编号以便核对数据 */
    @Excel(name = "生成ERP入库单时，对应生成订单编号以便核对数据")
    private String code;

    /** 业务日期 */
    @Excel(name = "业务日期")
    private Long biztime;
    private Long startBiztime;

    /** 美团入库单状态	只获取2-已审核 */
    @Excel(name = "美团入库单状态	只获取2-已审核")
    private Integer mtStatus;

    /** 美团入库类型 */
    @Excel(name = "美团入库类型")
    private Integer type;

    /** 来源单据号 */
    @Excel(name = "来源单据号")
    private String sourcesn;

    /** 入库时间 */
    @Excel(name = "入库时间")
    private Long mtCreatedtime;
    private Long mtCreatedtimeStart;
    private Long mtCreatedtimeEnd;

    /** 入库成本金额 */
    @Excel(name = "入库成本金额")
    private BigDecimal stockmoney;

    /** 入库业务金额 */
    @Excel(name = "入库业务金额")
    private BigDecimal money;

    /** 税率 */
    @Excel(name = "税率")
    private BigDecimal tax;

    /** 不含税金额 */
    @Excel(name = "不含税金额")
    private BigDecimal notaxmoney;

    /** 修改时间 */
    @Excel(name = "修改时间")
    private Long modifytime;

    /** 版本号 */
    @Excel(name = "版本号")
    private Integer version;

    /** 三方关联单据号 */
    @Excel(name = "三方关联单据号")
    private String thirdrelatedsn;

    /** ERP系统库房guid */
    @Excel(name = "ERP系统库房guid")
    private String strguid;

    /** ERP系统部门guid */
    @Excel(name = "ERP系统部门guid")
    private String departmentguid;

    /** ERP供应商Id */
    @Excel(name = "ERP供应商Id")
    private Long supplierid;

    /** ERP供应商名称 */
    @Excel(name = "ERP供应商名称")
    private String suppliername;

    /** 状态 */
    @Excel(name = "状态")
    private Integer status;

    private Integer[] statusNo;

    private Integer erpTypeNo9;
    private Integer erpType;

    private String mtShopName;
    private String typeName;
    private String erpTypeName;
    private String statusName;
}
